package cate.common.table.activity.dungeonup;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

import java.util.List;
import java.util.stream.Collectors;

@NoteClass(value = "钥匙分布")
public class DUKeySheet extends ESheet<DUKeyRow> {
    @Override
    public String getSheetName() {
        return "钥匙分布";
    }

    public List<DUKeyRow> getListByConfigId(int configTid) {
        return list.stream().filter(row -> row.configID == configTid).collect(Collectors.toList());
    }
}
